﻿@model S4Store.Domain.CarKpi.CarKpiMonthConfig
@{
    Layout = null;
    ViewBag.Title = "InputSellerKpiMonthConfig";
    S4Store.Domain.Administrator CurrentUser = (S4Store.Domain.Administrator)ViewBag.CurrentUser;
}
<form class="pageForm addpage" action="@Url.Action("ModifyBackInputCarKpiMonthConfig")" method="post">
<div style=" height:100%; width:100%; overflow:hidden" class="verticalSplitContainer">    
<div ratio="#200">
    <table style="width:100%">
            <tr>
                <td width="20%">上月平均成交率：</td>
                <td width="30%"><input type="text" value="@Model.LastMonthAvgvr.toInt()" size="5" name="config.LastMonthAvgvr" class="textInput numberinput" />%</td>
                <td width="20%">销售总目标：</td>
                <td width="30%"><input type="text" value="@Model.OrderQuantityTarget" size="5" name="config.OrderQuantityTarget" class="textInput intinput" />辆</td>
                      
            </tr>
            <tr>
                <td width="20%">上月定交转化率：</td>
                <td width="30%"><input type="text" value="@Model.LastMonthReserveDealConversionRate.toInt()" size="5" name="config.LastMonthReserveDealConversionRate" class="textInput numberinput" />%</td>
                <td width="20%">目标库存系数：</td>
                <td width="30%"><input type="text" value="@Model.InventoryIndexTarget.toInt()" size="5" name="config.InventoryIndexTarget" class="textInput numberinput" /></td>
                
                      
            </tr>
            <tr>
                <td width="20%">保险率目标：</td>
                <td width="30%"><input type="text" value="@Model.InsureTarget.toInt()" size="5" name="config.InsureTarget" class="textInput numberinput" />%</td>
                <td width="20%">置换率目标：</td>
                <td width="30%"><input type="text" value="@Model.ReplacementTarget.toInt()" size="5" name="config.ReplacementTarget" class="textInput numberinput" />%</td>
                
                      
            </tr>
            <tr>
                <td width="20%">金融率目标：</td>
                <td width="30%"><input type="text" value="@Model.FinancialTarget.toInt()" size="5" name="config.FinancialTarget" class="textInput numberinput" />%</td>
                <td width="20%">延保率目标：</td>
                <td width="30%"><input type="text" value="@Model.ExtendTarget.toInt()" size="5" name="config.ExtendTarget" class="textInput numberinput" />%</td>
                
            </tr>
            <tr>
                <td width="20%">套餐车销售率目标：</td>
                <td width="30%"><input type="text" value="@Model.PakeageSaleRateTagrt.toInt()" size="5" name="config.PakeageSaleRateTagrt" class="textInput numberinput" />%</td>

                <td width="20%">装潢车销售率目标：</td>
                <td width="30%"><input type="text" value="@Model.DecorateSaleRateTagrt.toInt()" size="5" name="config.DecorateSaleRateTagrt" class="textInput numberinput" />%</td>
                
            </tr>
            <tr>
                 <td width="20%">平均单车装潢额目标：</td>
                <td width="30%"><input type="text" value="@Model.DecorateAvgTagrt.toInt()" size="5" name="config.DecorateAvgTagrt" class="textInput numberinput" />万元</td>
                <td width="20%">目标套餐车型设计率：</td>
                <td width="30%"><input type="text" value="@Model.PakeageDesignTarget.toInt()" size="5" name="config.PakeageDesignTarget" class="textInput numberinput" />%</td>
                
            </tr>
            
        </table>
</div>
<div ratio="#25">
<table  class="reporttable2"  style="border-collapse:collapse; ">
    <tr>
        <th width="36">车型</th>
        <th width="115">车款</th>
        <th width="70">本月在售</th>
        <th width="70">销售目标</th>
        <th width="70">月初库存</th>
        <th width="70">上月交车</th>
        <th width="70">上月未交</th>
        <th width="70">计划提车</th>
        <th width="70">上旬套餐车</th>
        <th width="70">中旬套餐车</th>
        <th width="70">下旬套餐车</th>
    </tr>
</table>
</div>
<div class="pageFormContent"  ratio="*" style=" overflow: auto;padding:0;">    
    <table  class="reporttable2"  style="border-collapse:collapse;">
            @Html.Action("CarModelList", new { y = Model.Month.Year, m = Model.Month.Month })
    </table>             
<input type="hidden" name="config.Id" value="@Model.Id" />
<input type="hidden" name="StoreId" value="@Model.StoreId" />
<input type="hidden" name="config.Month" value="@Model.Month.ToString("yyyy-MM-dd")" />
</div>
    @if (!Model.IsConfirmed || CurrentUser.Position== S4Store.Domain.Position.SystemManager)
    {
        <div class="formBar" ratio="#30">
            <ul>
                <li><div class="simplebutton"><div class="r"><button type="button" class="submit">保存</button></div></div></li>	
                <li>确认数据：<input type="checkbox" name="isconfirm" value="true" /></li>	
            </ul>
        </div>
    }
</div>
</form>


